-- curse_resist
-- created by zhuangsl
-- 诅咒抗性

return {
    apply = function(prop, baseValue)
        return baseValue - math.modf(baseValue * prop[3] / 1000);
    end,

    record = function(target, prop, path)
        return false;
    end 
};